package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domain.business.BusinessCountDO;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.businesses.BusinessQueryDTO;
import com.qk.dto.businesses.BusinessTrackRecordDTO;
import com.qk.entity.Business;
import com.qk.vo.business.GetBusinessTrackRecordVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author kaoM1Jy
 * @date 2025/10/15 11:05
 * @description:
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    Page<GetBusinessTrackRecordVO> selectLists(Page pages, BusinessTrackRecordDTO dto);

    Page<BusinessDO> getBusinessList(Page pages, BusinessQueryDTO dto);


    BusinessCountDO selectCountBusiness();
}
